package com.itheima.pojo;

import java.util.List;

public class Clazz {
    private int id;
    private String name;
    private List<Student> stuList;

    @Override
    public String toString() {
        return "Clazz{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", stuList=" + stuList +
                '}';
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setStuList(List<Student> stuList) {
        this.stuList = stuList;
    }
}
